package com.bgs.service;

import com.bgs.common.R;
import com.bgs.pojo.Comments;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface CommentsService extends IService<Comments> {

    R zeroCircleIdToFindComments(Integer circleId, Integer beforeUserId);

    R zeroEvaluateIdToFindComments(Integer evaluateId);

    R zeroAddCircleIdComments(Comments comments);

    R zeroAddEvaluateIdComments(Comments comments);

    R zeroDeleteCommentsId(Integer commentsId);

    R zerobeforeUserIdToFindComments(Integer beforeUserId);

    R zeroOrderDetailIdToFindComments(Integer orderDetailId, Integer beforeUserId);

    R zeroAddOrderDetailIdComments(Comments comments);
}
